package com.wfk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 用户推送记录
 * </p>
 *
 * @since 2019-01-07
 */
@TableName("t_push_logs")
public class PushLogs implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

        /**
     * 用户id
     */
         private Integer cid;

        /**
     * 交易单号
     */
         private String paycode;

        /**
     * 消息类型  push_001提现通知  push_002订单通知  push_003退款通知  push_004事件行为(其他) push_005平台通知
     */
         private String type;

        /**
     * 消息内容
     */
         private String content;

        /**
     * 外键 可能用来处理事件需要的参数
     */
         private String targetcode;

        /**
     * -1未读 0已读
     */
         private Integer isread;

    private Date createtime;

        /**
     * 中文全内容
     */
         private String remark;

        /**
     * 逗号分隔内容
     */
         private String params;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getPaycode() {
        return paycode;
    }

    public void setPaycode(String paycode) {
        this.paycode = paycode;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTargetcode() {
        return targetcode;
    }

    public void setTargetcode(String targetcode) {
        this.targetcode = targetcode;
    }

    public Integer getIsread() {
        return isread;
    }

    public void setIsread(Integer isread) {
        this.isread = isread;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    @Override
    public String toString() {
        return "PushLogs{" +
        "id=" + id +
        ", cid=" + cid +
        ", paycode=" + paycode +
        ", type=" + type +
        ", content=" + content +
        ", targetcode=" + targetcode +
        ", isread=" + isread +
        ", createtime=" + createtime +
        ", remark=" + remark +
        ", params=" + params +
        "}";
    }
}
